package com.zhiche.lisa.bms.enums;

/**
 * @author linbao
 * @date 2018-11-19
 */
public enum ChargeOffRuleEnum {
	/**
	 * 启动, 停用
	 */
	RULE_STOP(0, "停用"),
	RULE_START(1, "启用"),
	/**
	 * 运单状态
	 */
	RULE_STATUS_SENDED(0, "已发运"),
	RULE_STATUS_RECEIPTED(1, "已回单"),
	/**
	 * 账期
	 */
	PAY_DAY_N(0, "N"),
	PAY_DAY_N_1(1, "N+1"),
	PAY_DAY_N_2(2, "N+2"),
	/**
	 * 账单周期
	 */
	PAY_PERIOD_WEEK(0, "周"),
	PAY_PERIOD_MONTH(1, "月"),
	/**
	 * 付款日期
	 */
	PAYMENT_0(0, "次月30号"),
	PAYMENT_1(1, "当月30"),
	PAYMENT_2(2, "当月15号"),
	/**
	 * 对账时效
	 */
	REC_0(0, "每月10号"),
	REC_1(1, "每月15号"),
	REC_2(2, "每月20号"),
	/**
	 * 收票失效
	 */
	INVOICE_REC_0(0, "每月13号"),
	INVOICE_REC_1(1, "每月20号"),
	INVOICE_REC_2(2, "每月25号");


	private final Integer code;

	private final String value;

	public Integer getCode() {
		return code;
	}

	public String getValue() {
		return value;
	}

	ChargeOffRuleEnum(Integer code, String value) {
		this.code = code;
		this.value = value;
	}
}
